package com.example.huajia.wx.db.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;


@Mapper
public interface TbActivityDao {
    public ArrayList<HashMap> searchAllActivityByPage(HashMap param);

    public ArrayList<HashMap> searchMyPublishByPage(HashMap param);

    public ArrayList<HashMap> searchMyParticipationByPage(HashMap param);

    public ArrayList<HashMap> searchActivityContentById(String id);

    public String searchEnrollmentUserById(String id);

    public Integer insertActivity(HashMap param);

    public Integer updateActivityEnrollment(HashMap param);

    public ArrayList<HashMap> searchActivityByKeyByPage(HashMap param);

    public int isMineParticipation(HashMap param);

    public ArrayList<HashMap> isFinished(HashMap param);

    public int checkIn(HashMap param);

    public String searchCheckInUserById(String id);

    public int isCheckIn(String id);
}